﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Create.aspx.cs" Inherits="BlogEngineMVC.Views.Home.Create" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
               <h1>Create New Post</h1>                
               <form method="post" action="/Home/CreateNew">  
               <table>
                   <tr>
                       <td>
                           <label for="Title">Title:</label> 
                       </td>
                       <td>
                           <input type="text" name="title" size="25" /><br />
                       </td>
                   </tr>
                   <tr>
                       <td valign="top">
                           <label for="body">Post Body:</label> 
                       </td>
                       <td align="right">
                           <textarea id="body" name="body" cols="70" rows="17"></textarea>                            
                       </td>
                   </tr>
                   <tr>
                       <td align="right" colspan="2">
                           <input type="submit" value="Create Post" /> 
                       </td>
                   </tr>
               </table>
               </form> 
</asp:Content>
